import request from "@/utils/request.js";

export const listComments= (params) =>request.get('/api/hotel/comments/list',{params})

export const deleteComments= (id) =>request.delete('/api/hotel/comments/delete/'+id)

export const insertComments = (obj) => request.post('/api/hotel/comments/insert',obj)

export const updateComments = (obj) => request.put('/api/hotel/comments/update',obj)